Get Latest Consent API
This API will get the latest consent data from the CMS.
AOK Config Files
- Request Type : GET
- End Point URL : /v1/getLatestConsent
- Authorization : basic_auth
Parameters :
Parameter | Description |
---|---|
aokid* | AOK id is the AOK specefic unique id. It will filter the content and get the AOK specefic data. |
pluginname | Plugin name when we are mapping features with JSON data |
Note :'*' Parameters are required
- Sample URL : http://site_url/v1/getLatestConsents?aokid=aokplus&pluginname=symptomcheck
- Response Success Code : 200 OK
- Sample Response
[
{
"consentID": 43,
"consentVersion": 1,
"contentVersion": 1.1,
"consentIcon": "http://20.79.214.38:3247/de/sites/default/files/aoklogo.svg",
"consentTitle": "My Consent Title",
"consentDescription": "<p>test 2</p>",
"compliances": [
{
"complianceID": "25",
"isMandatory": "true",
"title": "c1 test2",
"description": "<p>c1 test2 des</p>",
"actions": "Test|https://test.com"
}
]
},
{
"consentID": 42,
"consentVersion": 1.3,
"contentVersion": 1,
"consentIcon": "http://20.79.214.38:3247/de/sites/default/files/navidalogo_file.png",
"consentTitle": "<highlight>Test</highlight>\\ntest",
"consentDescription": "<p>major update</p><p>Updated other fields</p><p>deleted a paragraph</p><p> </p>",
"compliances": [
{
"complianceID": "23",
"isMandatory": "true",
"title": "c1 updated",
"description": "<p>Test des</p>",
"actions": ""
}
]
}
]